package org.arnetminer.personalized.vo;

import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.arnetminer.personalized.util.Global;



/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class Status  implements java.io.Serializable {


    // Fields    

     private long id;
     private String status;
     private String postDate;
     private User user;
     
     private List<Comment> comments;
     


    // Constructors

    /** default constructor */
    public Status() {
    	postDate = Global.FORMATTER.format(new Date());
    }

    
    /** full constructor */
    public Status(String status, User user) {
    	this.status = status;
    	this.user = user;
    	postDate = Global.FORMATTER.format(new Date());
    }

   
    // Property accessors


	public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}
    


	public String getStatus() {
		return status;
	}



	public void setStatus(String status) {
		this.status = status;
	}


	

	public String getPostDate() {
		return postDate;
	}


	public void setPostDate(String postDate) {
		this.postDate = postDate;
	}


	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}


	public List<Comment> getComments() {
		return comments;
	}


	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

	
    
	
    
}